package lumis.portal.sendmail;

import java.util.Collection;

import lumis.portal.stability.StableMinor;

/**
 * Stores the information about a multiple mail to be sent.
 * This mail is sent once for each destination defined in it.
 * @see IBaseMail
 * @see IMultipleMail
 * @see ISendMailManager#createMultipleMail()
 * @see #getDestinations()
 * @since 4.0.4
 * @version $Revision: 13082 $ $Date: 2011-05-27 16:03:12 -0300 (Fri, 27 May 2011) $
 */
@StableMinor(version = "6.0", sinceVersion = "4.0")
public interface IMultipleMail extends IBaseMail
{
	/**
	 * Returns a collection of destinations for this mail.
	 * This collection may be manipulated by obtaining it
	 * using this method, and then using the collection api.
	 * @return the collection of destinations for this mail.
	 * @see ISendMailManager#createMailDestination()
	 * @since 4.0.4
	 */
	public Collection<IMailDestination> getDestinations();
}
